create

public static UserAgentBrand create(String name, String version)

Creates a new UserAgentBrand instance with the given brand and version.

Parameters

name

the name of the user-agent or brand (e.g. "Chromium", "Google Chrome", "Edge")

version

the version of the brand (e.g. "133.0.4472.124", "133")

Throws

if the brand or version is empty or blank